/**
 * Description: MaintainReport.java
 * Copyright (c) 2008-2009  Neo. 
 * All Rights Reserved.
 * @version 1.0  Mar 19, 2009 2:47:56 PM 李萌（neolimeng@gmail.com）created
 */
package org.paradise.dms.pojo;

import java.util.Date;

import javax.persistence.CascadeType;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

/**
 * Description: Copyright (c) 2008-2009 Neo. All Rights Reserved.
 * 
 * @version 1.0 Mar 19, 2009 2:47:56 PM 李萌（neolimeng@gmail.com）created
 */
@Entity
@Table(name = "maintainreport")
public class MaintainReport {
	@Id
	@GeneratedValue(strategy = GenerationType.AUTO)
	// 自动增长
	private Integer maintainreportid;
	@ManyToOne( cascade = {CascadeType.PERSIST, CascadeType.MERGE} )
	@JoinColumn(name = "maintainreportstatusid")
	private MaintainReportStatus maintainreportstatus;
	//private int maintainreportstatusid;
	private String maintainreporter;
	private Integer maintainreporterid;
	private Date maintainreporttime;
	@ManyToOne( cascade = {CascadeType.PERSIST, CascadeType.MERGE} )
	@JoinColumn(name = "MAINTAINREPORTTYPEID")
	private MaintainReportType maintainreporttype;
	//private int maintainreporttypeid;
	private String maintainreportcontent;
	private Date maintainreportavailtime;
	private String maintainreportplace;
	private Integer maintainreportind;
	private Integer maintainreportapproverid;
	private String maintainreportapprover;
	private String maintainreporterphone;
	public String getMaintainreporterphone() {
		return maintainreporterphone;
	}
	public void setMaintainreporterphone(String maintainreporterphone) {
		this.maintainreporterphone = maintainreporterphone;
	}
	public Integer getMaintainreportid() {
		return maintainreportid;
	}
	public void setMaintainreportid(Integer maintainreportid) {
		this.maintainreportid = maintainreportid;
	}
	public MaintainReportStatus getMaintainreportstatus() {
		return maintainreportstatus;
	}
	public void setMaintainreportstatus(MaintainReportStatus maintainreportstatus) {
		this.maintainreportstatus = maintainreportstatus;
	}
	public String getMaintainreporter() {
		return maintainreporter;
	}
	public void setMaintainreporter(String maintainreporter) {
		this.maintainreporter = maintainreporter;
	}
	public Integer getMaintainreporterid() {
		return maintainreporterid;
	}
	public void setMaintainreporterid(Integer maintainreporterid) {
		this.maintainreporterid = maintainreporterid;
	}
	public Date getMaintainreporttime() {
		return maintainreporttime;
	}
	public void setMaintainreporttime(Date maintainreporttime) {
		this.maintainreporttime = maintainreporttime;
	}
	public MaintainReportType getMaintainreporttype() {
		return maintainreporttype;
	}
	public void setMaintainreporttype(MaintainReportType maintainreporttype) {
		this.maintainreporttype = maintainreporttype;
	}
	public String getMaintainreportcontent() {
		return maintainreportcontent;
	}
	public void setMaintainreportcontent(String maintainreportcontent) {
		this.maintainreportcontent = maintainreportcontent;
	}
	public Date getMaintainreportavailtime() {
		return maintainreportavailtime;
	}
	public void setMaintainreportavailtime(Date maintainreportavailtime) {
		this.maintainreportavailtime = maintainreportavailtime;
	}
	public String getMaintainreportplace() {
		return maintainreportplace;
	}
	public void setMaintainreportplace(String maintainreportplace) {
		this.maintainreportplace = maintainreportplace;
	}
	public Integer getMaintainreportind() {
		return maintainreportind;
	}
	public void setMaintainreportind(Integer maintainreportind) {
		this.maintainreportind = maintainreportind;
	}
	public Integer getMaintainreportapproverid() {
		return maintainreportapproverid;
	}
	public void setMaintainreportapproverid(Integer maintainreportapproverid) {
		this.maintainreportapproverid = maintainreportapproverid;
	}
	public String getMaintainreportapprover() {
		return maintainreportapprover;
	}
	public void setMaintainreportapprover(String maintainreportapprover) {
		this.maintainreportapprover = maintainreportapprover;
	}

}
